<div class="wide form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>


	<div class="row">
		<?php echo $form->label($model,'code'); ?>
		<?php echo $form->textField($model,'code',array('size'=>30,'maxlength'=>30)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'date'); ?>
		<?php echo $form->textField($model,'date',array('size'=>50,'maxlength'=>50)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'carnet'); ?>
		<?php echo $form->textField($model,'carnet'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'sede'); ?>
		<?php echo $form->textField($model,'sede',array('size'=>60,'maxlength'=>300)); ?>
	</div>
    	<div class="row">
		
            <?php echo $form->label($model,'carrera'); ?>
            <?php $estadosArray = CHtml::listData(titulos::model()->findAll(),'cod','name');      
                $estadosArray['']='TODOS';
                echo $form->DropDownList($model,'carrera',$estadosArray);?>
	</div>
	<div class="row buttons">
		<?php echo CHtml::submitButton('Buscar'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- search-form -->